<?php

namespace App\Http\Controllers\Api\V1;

use App\Services\Cache\VipWelfareCache;
use App\Http\Controllers\Api\V1\Resources\VipCatrgroyResource;

class VipWelfaresController extends Controller
{
    public function index($id)
    {
        
        $welfares = app(VipWelfareCache::class)->welfares($id);
        
        return response()->json($welfares);
    }
}
